package com.wen.service;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;

@Service
public class ScheduledService {
    @Scheduled(cron = "0/2 * * * * 0-7" )
    public void hello(){
        System.out.println("hello执行了。。。");

    }


}
